<div class="ports view">
<h2><?php  __('Port');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $port['Port']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Unit'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($port['Unit']['name'], array('controller' => 'units', 'action' => 'view', $port['Unit']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Position'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $port['Port']['position']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Subid'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $port['Port']['subid']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Description'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $port['Port']['description']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Joind'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($port['Joind']['number'], array('controller' => 'ports', 'action' => 'view', $port['Joind']['id'])); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Port', true), array('action' => 'edit', $port['Port']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Port', true), array('action' => 'delete', $port['Port']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $port['Port']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Ports', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Port', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Units', true), array('controller' => 'units', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Unit', true), array('controller' => 'units', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Ports', true), array('controller' => 'ports', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Joind', true), array('controller' => 'ports', 'action' => 'add')); ?> </li>
	</ul>
</div>
